package com.tgy.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author tianguiyin
 * @version 1.0
 * @date 2022/8/3 14:07
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "评论数据返回对象",description = "")
public class GitCommitHistoryVo {

    @ApiModelProperty(value = "提交人账号")
    private String name;
    @ApiModelProperty(value = "提交时间")
    private String date;
    @ApiModelProperty(value = "提交人邮箱")
    private String email;
    @ApiModelProperty(value = "提交备注")
    private String message;
    @ApiModelProperty(value = "真实姓名")
    private String authorName;


    private String year;
    private String month;
    private String day;


    public GitCommitHistoryVo(String name, String date, String email, String message, String authorName) {
        this.name = name;
        this.date = date;
        this.email = email;
        this.message = message;
        this.authorName = authorName;
    }
}
